//
//  FXButton.m
//  弹出pop视图
//
//  Created by 袁飞霞 on 16/5/13.
//  Copyright © 2016年 cn.sophietobeabetterone. All rights reserved.
//

#import "FXButton.h"

@implementation FXButton

-(void)layoutSubviews{
    [super layoutSubviews];
    
//    self.imageView.center = CGPointMake(self.frame.size.width, 0);
    self.imageView.frame = CGRectMake(0, 0, 40, self.frame.size.height);
    self.titleLabel.frame = CGRectMake(40, 0, self.frame.size.width - 40, self.frame.size.height);
//    self.backgroundColor = [UIColor grayColor];
    self.imageView.contentMode = UIViewContentModeCenter;
    
}

@end
